<template>
  <el-dialog
    top="30px"
    width="500px"
    append-to-body
    title="解保信息"
    :close-on-click-modal="false"
    :before-close="beforeClose"
    :visible.sync="visible"
  >
    <loan-un-view :related-data="relatedData"></loan-un-view>
  </el-dialog>
</template>

<script>
import LoanUnView from '@/bank/views/business/limit/history/postloan/components/LoanUnView'

export default {
  components: {
    LoanUnView,
  },
  props: {
    visible: Boolean,
    relatedData: {
      type: Object,
      default: () => ({}),
    },
  },
  data() {
    return {}
  },
  computed: {},
  watch: {},
  created() {},
  mounted() {},
  methods: {
    beforeClose() {
      this.$emit('update:visible', false)
    },
  },
}
</script>

<style lang="scss" scoped></style>
